import { BaseWrapper } from '../base';
import { BaseFieldUserSelect } from './base-field-user-select';
import React, { FC, createElement } from 'react';

export interface FieldUserSelectProps {
  max: string;
}

export const FieldUserSelect: FC<FieldUserSelectProps> = (props: any) => {
  const { columnConfig } = props;

  return (
    <BaseWrapper {...props}>
      <BaseFieldUserSelect
        columnConfig={columnConfig}
        value={props.value}
        onChange={props.onChange}
      />
    </BaseWrapper>
  );
};
